#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	char arr[1000] = { 0 };
	scanf("%s", arr);
	int count = 0;
	char* pc = &arr[0];
	while (*pc != '\0')
	{
		count++;
		pc = pc + 1;
	}
	printf("%d", count);
	return 0;
}